﻿using System.Collections.Generic;
using System.ServiceModel;
using VMukti.Business.CommonDataContracts;

namespace VMukti.Business.WCFServices.BootStrapServices.NetP2P
{
    [ServiceContract(CallbackContract = typeof(INetP2PConsoleService))]
    public interface INetP2PConsoleService
    {
        [OperationContract(IsOneWay = true)]
        void svcNetP2ConsoleJoin(string uName);


        [OperationContract(IsOneWay = true)]
        void svcNetP2ConsoleSendMsg(string msg);

        [OperationContract(IsOneWay = true)]
        void svcNetP2PConsoleUnJoin(string uName);


    }

    public interface INetP2PConsoleChannel : INetP2PConsoleService, IClientChannel
    {
    }
}
